<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url')?>js/validator.js"></script>
<form method="post" action="<?=url('Online::EbayTemplate/BaseCreateSave')?>" onsubmit="return Validator.Validate(this,3);">
<table class="form_table" width="100%">
<tr>
	<th>基板名称</th>
	<td><input type="text" name="name" dataType="Require" msg=" 名称不能为空" /></td>
</tr>
<tr>
	<th>基板类型</th>
	<td>
		<select name="type">
			<?foreach (Q::ini('custom_flag/ebay_template_base_type') as $eb):?>
			<option value="<?=$eb['value']?>"><?=$eb['name']?></option>
			<?endforeach;?>
		</select>
	</td>
</tr>
<tr>
	<th>基板内容</th>
	<td><textarea name="content" cols="80" rows="18"></textarea></td>
</tr>
<tr>
	<th>基板样式</th>
	<td><textarea name="css" cols="80" rows="8"></textarea></td>
</tr>
<tr>
	<th><input type="hidden" name="<?=Q::ini('unique_token_name');?>" value="<?=Helper_BSS_Normal::genToken();?>"/></th>
	<td><input type="submit" class="button" value="提交" /></td>
</tr>
</table>
</form>
<?php $this->_endblock();?>